{include file="common/header.tpl"}
<section class="main">	
    <article class="right-col">
    	<h2><a href="{$back}">{$language.title.club}</a> &raquo; {$language.ahref.update}</h2>
        <form name="frmEdit" id="frmEdit" method="post" enctype="multipart/form-data" action="{$smarty.const.HOST_BACKEND}club/saveedit" class="ui">
            <input type="hidden" class="hidden" name="clubid" id="clubid" value="{$row->id}"/>        	
            <ul>
            	{if isset($smarty.session.ADMIN_ERROR)}
                	<li class="error">
                    	{include file="common/error.tpl" errors=$smarty.session.ADMIN_ERROR}
                    </li>
                {/if}            	
                <li>
                	<label for="clubname">{$language.label.name}:</label>
                    <div class="txt">
	                	<input type="text" class="text" name="clubname" id="clubname" value="{$row->name}" autocomplete="false"/>
                	</div>
                </li>
                <li>
                	<label for="clubnickname">{$language.label.nickname}:</label>
                    <div class="txt">
	                	<input type="text" class="text" name="clubnickname" id="clubnickname" value="{$row->nickname}" autocomplete="false"/>
                	</div>
                </li>                             
                <li>
                	<label for="clubcountry">{$language.label.country}:</label>
                    <div class="txt">
	                	<input type="text" class="text" name="clubcountry" id="clubcountry" value="{$row->country}" autocomplete="false" required minlength="2" maxlength="2" size="2" />
                	</div>
                </li>
                <li>
                	<label for="clublogo">{$language.label.logo}:</label>
                    <div class="txt">
	                	<input type="file" class="text" name="clublogo" id="clublogo" value="" autocomplete="false" />
                	</div>
                </li>
                <li>
                	<label for="clubslug">{$language.label.slug}:</label>
                    <div class="txt">
	                	<input type="text" class="text" name="clubslug" id="clubslug" value="{$row->slug}" autocomplete="false" />
                	</div>
                </li>
                <li>
                	<label for="clubshort">{$language.label.short}:</label>
                    <div class="txt">
                        <input type="text" class="text" name="clubshort" id="clubshort" value="{$row->short}" />	                
                	</div>
                </li>
                <li>
                	<label for="clubdescription">{$language.label.description}:</label>
                    <div class="area">
                         <textarea rows="4" cols="50" name="clubdescription" id="clubdescription">{$row->description}</textarea>	                
                	</div>
                </li>
                <li>
                	<label for="clubtag">{$language.label.tag}:</label>
                    <div class="txt">
	                	<input type="text" class="text" name="clubtag" id="clubtag" value="{$row->tag}" autocomplete="false" />
                	</div>
                </li>                
                <li>
                 	<button type="submit"><strong>{$language.btn.save}</strong></button>
                    <button type="button" class="cancel" onclick="javascript:document.location.href='{$back}'"><strong>{$language.btn.cancel}</strong></button>
                </li>
            </ul>
        </form>       
    </article> 
</section>
{include file="common/footer.tpl"}
                
